package com.yhb.channel.impl.Scalable;

import com.yhb.channel.ChannelFactory;
import com.yhb.channel.exception.PayChannelException;

public class ScalableException extends PayChannelException {

    public ScalableException(Long code, String message) {
        super(code, message);
        this.channelType = ChannelFactory.SCALABLE;
        this.channelName = "第三方通道";
    }

    public ScalableException(Long code, String message, Throwable nestedException) {
        super(code, message, nestedException);
        this.channelType = ChannelFactory.SCALABLE;
        this.channelName = "第三方通道";
    }

    public ScalableException(String code, String message, Throwable nestedException) {
        super(code, message, nestedException);
        this.channelType = ChannelFactory.SCALABLE;
        this.channelName = "第三方通道";
    }
}
